QuickOPC User's Guide and Reference
EnumerationDataType Constructor(IEnumerable<EnumerationMember>)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > EnumerationDataType Class > EnumerationDataType Constructor : EnumerationDataType Constructor(IEnumerable<EnumerationMember>)
Describes possible enumeration values.
Initializes a new instance of the class. Initializes a new instance of the class with given enumeration members.
Syntax
'Declaration
 
Public Function New( _
   ByVal enumerationMembers As IEnumerable(Of EnumerationMember) _
)
'Usage
 
Dim enumerationMembers As IEnumerable(Of EnumerationMember)
 
Dim instance As New EnumerationDataType(enumerationMembers)
public EnumerationDataType( 
   IEnumerable<EnumerationMember> enumerationMembers
)
public:
EnumerationDataType( 
   IEnumerable<EnumerationMember^>^ enumerationMembers
)

Parameters

enumerationMembers
Describes possible enumeration values.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also